<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap1</title>

    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./style/sty.css">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    
  </head>
  <body>
    <nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
      <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">项目展示</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">综述</a></li>
            <li><a href="#">简述</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                案例 <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="#travel">Travel</a></li>
                <li class="divider"></li>
                <li><a href="#alohaMall">AlohaMall</a></li>
                <li class="divider"></li>
                <li><a href="#todoList">TodoList</a></li>
                <li class="divider"></li>
                <li><a href="#">......</a></li>
              </ul>
            </li>
            <li><a href="#" data-toggle="modal" data-target="#about">关于</a></li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container -->
    </nav>

    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
      <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
      </ol>

      <!-- Wrapper for slides -->
      <div class="carousel-inner">
        <div class="item active">
          <img src="./img/qunaer.png">
          <div class="carousel-caption">
            <h2>travel</h2>
            <p>A vue.js project</p>
          </div>
        </div>
        <div class="item">
          <img src="./img/mall.png">
          <div class="carousel-caption">
            <h2>AlohaMall</h2>
            <p>A webpack project</p>
          </div>
        </div>
        <div class="item">
          <img src="./img/todo.png">
          <div class="carousel-caption">
            <h2>TodoList</h2>
            <p>A jQuery project</p>
          </div>
        </div>
      </div>
    

      <!-- Controls -->
      <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
      </a>
      <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
      </a>
    </div>

    <div class="container">
      <div class="row feature">
        <div class="col-md-4 text-center">
          <img src="./img/vue.jpg">
          <h2>travel</h2>
          <p>A vue.js project</p>
        </div>
        <div class="col-md-4 text-center">
          <img src="./img/webpack.png">
          <h2>AlohaMall</h2>
          <p>A webpack project</p>
        </div>
        <div class="col-md-4 text-center">
          <img src="./img/jquery.png">
          <h2>TodoList</h2>
          <p>A jQuery project</p>
        </div>
      </div>
      <hr>
    </div>

    <div class="container">
      <!-- Nav tabs -->
      <ul class="nav nav-tabs">
        <li class="active"><a href="#travel" data-toggle="tab">Travel</a></li>
        <li><a href="#alohaMall" data-toggle="tab">AlohaMall</a></li>
        <li><a href="#todoList" data-toggle="tab">TodoList</a></li>
      </ul>

      <!-- Tab panes -->
      <div class="tab-content text-center">
        <div class="tab-pane active" id="travel">
          <div class="row feature">
            <div class="col-md-7">
              <h2 class="feature-heading">
                Travel<span class="feature-subheading">Vue.js开发</span>
              </h2>
              <p>
                仿制去哪儿网的一个项目，开发了home和city组件。<br>
                仿制去哪儿网的一个项目，开发了home和city组件。<br>
                仿制去哪儿网的一个项目，开发了home和city组件。
              </p>
            </div>
            <div class="col-md-5">
              <img src="./img/vue.jpg">
            </div>
          </div>
        </div>
        <div class="tab-pane" id="alohaMall">
          <div class="row feature">
            <div class="col-md-5">
              <img src="./img/webpack.png">
            </div>
            <div class="col-md-7">
              <h2 class="feature-heading">
                AlohaMall<span class="feature-subheading">Webpack开发</span>
              </h2>
              <p>
                一个商城网站，前后端分离，主要利用Webpack,jQuery开发。<br>
                一个商城网站，前后端分离，主要利用Webpack,jQuery开发。<br>
                一个商城网站，前后端分离，主要利用Webpack,jQuery开发。
              </p>
            </div>
          </div>
        </div>
        <div class="tab-pane" id="todoList">
          <div class="row feature">
            <div class="col-md-7">
              <h2 class="feature-heading">
                TodoList<span class="feature-subheading">jQuery开发</span>
              </h2>
              <p>
                用iQuery开发一个todoList 用iQuery开发一个todoList<br>
                用iQuery开发一个todoList 用iQuery开发一个todoList<br>
                用iQuery开发一个todoList 用iQuery开发一个todoList<br>
              </p>
            </div>
            <div class="col-md-5">
              <img src="./img/jquery.png">
            </div>
          </div>
        </div>
        <hr>
      </div>

      <footer>
        <p class="pull-right"><a href="#top">回到顶部</a></p>
        <p>© John 2018</p>
      </footer>

      <div class="modal fade" id="about">
        <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal">
                <span>&times;</span>
              </button>
            </div>
            <div class="modal-body text-center">
              这是一个简单的利用Bootstrap开发的网站，有点粗糙。<br>
              并且由于Carousel组件中图片分辨率太低，影响体验。<br>
              请见谅！
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-primary" data-dismiss="modal">
                了解了
              </button>
            </div>
          </div>
        </div>
      </div>
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  </body>
</html>